﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _180FrameWork.ReportExtend
{
    public class ReportUtils
    {
        public static string GetAppPath()
        {
            string path = "";
            if ((System.Environment.CurrentDirectory + @"\") == AppDomain.CurrentDomain.BaseDirectory)//windows应用程序
            {
                path = AppDomain.CurrentDomain.BaseDirectory;
            }
            else
            {
                path = AppDomain.CurrentDomain.BaseDirectory + @"Bin\";
            }
            return path;
        }
    }
}
